package com.hex.ds.hdtp.core.inf.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

/**
 * @Description: Jdbc-Kerberos认证的System设置的key值
 * @Package: com.hex.ds.hdc.source.api.jdbc.enums
 * @ClassName: JdbcKerberosSystemConfigurationEnum
 *
 * @Author: xiaoma
 * @Date: 2021/11/24 17:42
 * @Version: v1.0
 **/
@AllArgsConstructor
public enum JdbcKerberosAuthConfigurationEnum {
    /** Jdbc-Kerberos认证的设置的key值 */
    HADOOP_SECURITY_AUTHENTICATION("hadoop.security.authentication","");

    @Getter
    private final String value;
    @Getter
    private final String desc;

    public static List<String> getValues() {
        return Arrays.stream(JdbcKerberosAuthConfigurationEnum.values()).map(t -> t.getValue()).collect(Collectors.toList());
    }
}